/**
 * 此代码解释权归本人所有，如有侵权，请当场嗝屁
 */
package com.xiaoge.handler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:业务异常处理
 * @date:2020-10-19
 * @author:liufuyu
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessException extends RuntimeException{
    @ApiModelProperty(value = "状态码")
    private  Integer code;

    @ApiModelProperty(value = "错误信息")
    private  String errMsg;

}
